package cn.zhaozhiqi.pojo.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;


/**
 * <p>
 * 
 * </p>
 *
 * @author zhaozhiqi
 * @since 2025-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_alipay_config")
@Schema(name = "AlipayConfig对象", description = "")
public class AlipayConfig implements Serializable {

    private static final long serialVersionUID=1L;

    @Schema(name = "id", description = "")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(name = "merchantPrivateKey", description = "商户私钥")
    @TableField("merchant_private_key")
    private String merchantPrivateKey;

    @Schema(name = "appId", description = "")
    @TableField("app_id")
    private String appId;

    @Schema(name = "alipayPublicKey", description = "阿里公钥")
    @TableField("alipay_public_key")
    private String alipayPublicKey;

    @Schema(name = "crateTime", description = "")
    @TableField("crate_time")
    private Date crateTime;

    @Schema(name = "updateTime", description = "")
    @TableField("update_time")
    private Date updateTime;

    @Schema(name = "protocol", description = "")
    @TableField("protocol")
    private String protocol;

    @Schema(name = "gatewayHost", description = "")
    @TableField("gateway_host")
    private String gatewayHost;

    @Schema(name = "signType", description = "")
    @TableField("sign_type")
    private String signType;

    @Schema(name = "notifyUrl", description = "")
    @TableField("notify_url")
    private String notifyUrl;

    @Schema(name = "returnUrl", description = "")
    @TableField("return_url")
    private String returnUrl;

}
